<?php
/**
 * Created by PhpStorm.
 * User: 王文凡<787802868@qq.com>
 * Date: 2016/10/12 0012
 * Time: 09:36
 */

namespace Common\Model;
use Think\Model;

class ScheduleModel extends Model
{
    protected $_validate = array(
        array('title','require', '标题必须填写'),
//        array('week_time','require', '请选择周时间'),
//        array('time_quantum','require', '请选择时间段'),
        array('sort','require', '排序值必须填写'),
    );
    protected $_auto = array(
        array('create_time','time',1,'function'),
        array('update_time','time',3,'function'),
    );

}